import { defineFakeRoute } from "vite-plugin-fake-server/client";
// 模拟刷新token接口
// export default
 defineFakeRoute([
 {
        url: "/business/project/v2/setting",
        method: "get",
        response: () => {
            return {
                "code": 200,
                "msg": "ok",
                "result": {
                    "projectId": 123,
                    "logo": "https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100",
                    "indexMode": 2,
                    "mapPoints": [32,31],
                    "projectPlan": "https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100",
                    "VR": "https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100",
                    "threeD": "https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100",
                    "topId": 321,
                    "menuMode": 2,
                    workOrderNotice:[
                   1,2,3,4
                    ],
                    inspectionNotice:[  1,2,3,4],
                    "screenMenus":[
                       
                        
                    ]
                }
            }
        }
    }, {
        url: "/business/project/v2/setting",
        method: "post",
        response: () => {
            return {
                "code": 200,
                "msg": "添加成功",
                "result": null
            }
        }
    },
]);